﻿using System.Collections.Generic;
using MarriageFertility.DataType;
using MarriageFertility.Quests;
using TaleWorlds.CampaignSystem;
using TaleWorlds.SaveSystem;

namespace MarriageFertility;

public class MarriagePregnancySaveDefiner : SaveableTypeDefiner
{
    public MarriagePregnancySaveDefiner()
        : base(1727949034)
    {
    }

    protected override void DefineClassTypes()
    {
        AddClassDefinition(typeof(CustomerPregnancy), 1727949034);
        AddClassDefinition(typeof(NtrRelation), 1727949035);
        AddClassDefinition(typeof(CompetitionQuest), 1727949036);
    }

    protected override void DefineContainerDefinitions()
    {
        ConstructContainerDefinition(typeof(List<CustomerPregnancy>));
        ConstructContainerDefinition(typeof(Dictionary<Hero, List<Hero>>));
        ConstructContainerDefinition(typeof(List<NtrRelation>));
        ConstructContainerDefinition(typeof(Dictionary<string, CampaignTime>));
    }
}